{{if $user<>""}} 
    <input type="checkbox" {{$state}} value="{{$fav_prod_id}}:{{$fav_list_id}}" class="fav_checkbox" onclick="add_remove_fav_item(this)" />
{{/if}}